home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / IDLIncludes / StringCompare.idl < prev    next >
Text File  |  1996-05-01  |  4KB  |  141 lines

  1. /*
  2.      File:        StringCompare.idl
  3.  
  4.      Contains:    Public interfaces for String Comparison and related operations
  5.  
  6.      Version:    Technology:    System 7.0 through System 8
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. */
  18. #ifndef __STRINGCOMPARE_IDL__
  19. #define __STRINGCOMPARE_IDL__
  20.  
  21. #include <somobj.idl>
  22. #include <somcls.idl>
  23.  
  24. #ifndef __TYPES_IDL__
  25. #include <Types.idl>
  26. #endif
  27. #ifndef __TEXTCOMMON_IDL__
  28. #include <TextCommon.idl>
  29. #endif
  30. #ifndef __SCRIPT_IDL__
  31. #include <Script.idl>
  32. #endif
  33. #ifndef __TEXTOBJECTS_IDL__
  34. #include <TextObjects.idl>
  35. #endif
  36. #ifndef __LOCALEOBJECTS_IDL__
  37. #include <LocaleObjects.idl>
  38. #endif
  39. #ifndef __TEXTPARSER_IDL__
  40. #include <TextParser.idl>
  41. #endif
  42.  
  43. #ifdef __SOMIDL__
  44.  
  45. /*
  46.  
  47.     Here are the current System 7 routine names and the translations to the older forms.
  48.     Please use the newer forms in all new code and migrate the older names out of existing
  49.     code as maintenance permits.
  50.     
  51.     NEW NAME                    OLD NAME                    OBSOLETE FORM (no handle)
  52.     
  53.     CompareString (Str255)        IUCompPString (hp only)        IUCompString (hp only)
  54.     CompareText (ptr/len)        IUMagPString                IUMagString
  55.     IdenticalString (Str255)    IUEqualPString (hp only)    IUEqualString  (hp only)
  56.     IdenticalText (ptr/len)        IUMagIDPString                IUMagIDString
  57.     LanguageOrder                IULangOrder
  58.     ScriptOrder                    IUScriptOrder
  59.     StringOrder (Str255)        IUStringOrder (hp only)
  60.     TextOrder (ptr/len)            IUTextOrder
  61.  
  62.     RelString
  63.     CmpString (a only)                    
  64.     EqualString (hp only)
  65.     
  66.     ReplaceText
  67.  
  68. */
  69. #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
  70. /* obsolete names*/
  71. #endif
  72. /* FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE*/
  73. #if FOR_SYSTEM8_PREEMPTIVE
  74. typedef OpaquePtr                CollationRef;
  75.  
  76. typedef OpaquePtr                ConstBytePtr;                /* Substituted OpaquePtr for ``UInt8*'' */
  77.  
  78. /* Collation object key names*/
  79. /* Attribute names and values for CreateCollationRef*/
  80. typedef FourCharCode            CollateUsageAttributeValue;
  81.  
  82. typedef FourCharCode            CollateIdeoOrderAttributeValue;
  83.  
  84. /* Override types and enums*/
  85. typedef SOMFourByteStruct        CollationSet;                /* Derived from a struct of 4 bytes in size */
  86.  
  87. typedef OptionBits                CollateSetOptions;
  88.  
  89. typedef SOMLargeStruct            CollationSetOptionSpec;        /* Derived from a struct of 8 bytes in size */
  90.  
  91. typedef OptionBits                CollateNumberOptions;
  92.  
  93. typedef OptionBits                CollateOptions;
  94.  
  95. /* collation value for GetCollationKeyForTextString*/
  96. typedef UInt32                    CollationValue;
  97.  
  98. typedef SInt16                    CollateResult;
  99.  
  100. #endif
  101. /* FOR_SYSTEM8_PREEMPTIVE*/
  102. #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
  103. /*
  104.  The following functions are old names, but are required for System 7 PowerPC builds
  105.  becuase InterfaceLib exports these names, instead of the new ones.
  106. */
  107. /*
  108.  The following are new names which are not exported by System 7 InterfaceLib for PowerPC.
  109.  For C the new names are mapped to the old names using #define.
  110. */
  111. /*
  112.  The following functions are new names that are exported by InterfaceLib
  113.  and work on both 68k and System 7 PowerPC.
  114. */
  115. #endif
  116. /* FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE*/
  117. #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
  118. #if CGLUESUPPORTED
  119. #if OLDROUTINENAMES
  120. #endif
  121. #endif
  122. #endif
  123. /* FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED*/
  124. #if FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE
  125. #if CGLUESUPPORTED
  126. #endif
  127. #endif
  128. /* FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE*/
  129. #if FOR_SYSTEM8_PREEMPTIVE
  130. /*
  131.  Locale-insensitive utilities for text objects
  132.  For internal, user-invisible behavior thay must remain invariant across different systems
  133. */
  134. #endif
  135. /* FOR_SYSTEM8_PREEMPTIVE*/
  136.  
  137. #endif /* __SOMIDL__ */
  138.  
  139. #endif /* __STRINGCOMPARE_IDL__ */
  140.  
  141.